package reflect;

public class ReflectDemo9 {
    public static void main(String[] args) throws Exception {
        Class clas = Class.forName("reflect.Person");
        boolean amark = clas.isAnnotationPresent(AutoRunClass.class);
        if (amark){
            System.out.println("被标注了");
        }else {
            System.out.println("没有被标注");
        }
    }
}
